package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_iflytek_fields_relation")
@Table(appliesTo = "mb_iflytek_fields_relation", comment = "规则引擎-流程规则优化关联表")
public class IflytekFieldsRelation extends BaseModel implements Serializable {

	private static final long serialVersionUID = -5403747318918200918L;

	/**
	 * 科大主题ID
	 */
	@ApiModelProperty(value = "科大主题ID")
	@Column(name = "iflytek_theme_id", columnDefinition = "varchar(50)  NOT NULL COMMENT '科大主题ID'")
	private String iflytekThemeId;

	/**
	 * 科大数据字段ID
	 */
	@ApiModelProperty(value = "科大数据字段ID")
	@Column(name = "iflytek_fields_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '科大数据字段ID'")
	private String iflytekFieldsId;

	/**
	 * 科大数据字段名称
	 */
	@ApiModelProperty(value = "科大数据字段名称")
	@Column(name = "iflytek_fields_name", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '科大数据字段名称'")
	private String iflytekFieldsName;

	/**
	 * 科大数据字段描述
	 */
	@ApiModelProperty(value = "科大数据字段描述")
	@Column(name = "iflytek_fields_desc", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '科大数据字段名称'")
	private String iflytekFieldsDesc;

	/**
	 * 业务ID
	 */
	@ApiModelProperty(value = "业务ID")
	@Column(name = "business_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '业务ID'")
	private String businessId;

	/**
	 * 业务字段ID
	 */
	@ApiModelProperty(value = "业务字段ID")
	@Column(name = "business_fields_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '业务字段ID'")
	private String businessFieldsId;

}
